Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix case-insensitivity #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timohuovinen
Copy link

@timohuovinen timohuovinen commented Jun 5, 2023

The commit 61dc501 changed Copier's default setting to be case-insensitive, causing some tests to fail. I've fixed this by making Copier case-sensitive again.

I copied the "primary set of tests" to test the new case-insensitive functionality, this was simpler than introducing generics and breaking go 1.13 compatibility, it should be easy to remove the unneccessary tests (if any).

To see the change in action, checkout and do go test ./...

The commit changes the default behavior to be case-insensitive, which breaks tests and compatibility, this fixes that.

I've duplicated the tests because it was a bit difficult to do it in any other way
@timohuovinen timohuovinen changed the title fix case-insensitivity code fix case-insensitivity Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant